<template>
    <div class="index">
        <ul>
            <li><router-link to="/">首页</router-link></li>
            <li><router-link to="/admin_index/admin_product">产品管理</router-link></li>
            <li><router-link to="/admin_index/admin_element">模型元件管理</router-link></li>
            <li><router-link to="/admin_index/admin_list">列表管理</router-link></li>
            <div style="clear: both"></div>
        </ul>
        <div class="nav"></div>
        <router-view></router-view>
    </div>
</template>

<script>
    export default {
        name: "admin_index"
    }
</script>

<style scoped>
    .index{
        width: 100%;
        font-size: 16px;
    }
    ul{
        width: 100%;
        background: #464c5b;
        height: 50px;
        margin: 0;
        padding: 0;
    }
    ul li{
        float: left;
        width: 12%;
        line-height: 50px;
        list-style: none;
    }
    ul li a{
        display: block;
        text-align: center;
        width: 100%;
        color: #fff;
        text-decoration: none;
    }
    ul li a:hover{
        color: #625ccc;
    }
    .nav{
        height: 20px;
        background: #dadada66;
    }
</style>